package cls.generictype.mvp;

public class LoginPresenter extends MvpPresenter<MvpActivity,Model> {

    public void init(){
        long startTime = System.currentTimeMillis();
        System.out.println("开始执行时间：" + startTime);
        System.out.println("LoginPresenter 初始化");
        System.out.println("结束Print执行时间：" + (System.currentTimeMillis() - startTime));
        v.showToast("LoginPresenter 初始化");
        System.out.println("结束showToast执行时间：" + (System.currentTimeMillis() - startTime));
        m.request();
        System.out.println("request：" + (System.currentTimeMillis() - startTime));

        startTime = System.currentTimeMillis();
        System.out.println("重复执行时间：" + startTime);
        v.showToast("LoginPresenter 初始化");
        System.out.println("结束showToast执行时间：" + (System.currentTimeMillis() - startTime));
        m.request();
        System.out.println("request：" + (System.currentTimeMillis() - startTime));
    }
}
